PopupWindowState

class PopupWindowState(val browser: Browser, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: <Error class: unknown class>) : AutoCloseable

State of PopupWindow.

Parameters

browser
the popup browser.
bounds
the initial bounds of the popup.
scope
the coroutine scope used to update Compose observables.
onClose
a callback to be called when the popup is closed.

Constructors

Link copied to clipboard
constructor(browser: Browser, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: <Error class: unknown class>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()